package xkp.lesson.mapper;

import xkp.lesson.entity.Emp;

import java.util.List;

public interface EmpMapper {
    int deleteByPrimaryKey(Short empno);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Short empno);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    Emp selectById(int id);

    List<Emp> selectAll();
}